package com.lys.emsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.College;
import com.lys.emsystem.vo.CollegeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CollegeMapper extends BaseMapper<College> {
    IPage<College> search(Page<College> page, @Param("collegeVo") CollegeVo collegeVo);

    int delList(@Param("ids") int[] ids);

    List<College> searchCollegesBySchoolIds(@Param("id") int id);
}
